function main() {
    // console.log("change");
    const self = this;
    const regionIds = self.cValue;
    const params = [
        { name: "unitId", valueContent: regionIds }
    ];
    debugger
    api.DATA_SOURCE_EXECUTE("ds_api:3da0bede-d1e7-45eb-aefc-4bc260064612", "api", params).then(res => {
        const str = res && res.result;
        var dataListJson = JSON.parse(res.result).result;
        console.log(dataListJson);
        const litiantList = ['全部', '个体工商户', '公民', '法人或其他组织'];
        const litiantValueList = [dataListJson[0].total_count || 0, dataListJson[3].total_count || 0, dataListJson[1].total_count || 0, dataListJson[2].total_count || 0];

        const listValue = [];
        for (let i = 0; i < litiantList.length; i++) {
            listValue.push({
                label: litiantList[i],
                num: litiantValueList[i] || 0,
                key: i
            })
        }
        const cardComp = self.$$("szyy_page_data_card_a639x7");
        // 设置卡片数据
        if (cardComp) {
            cardComp.data.props.dataSource.options = listValue;
        }
    });
}

// 选中第一个标签
//var cardTotal = this.$$("szyy_page_data_card_3rxk4i");
//   cardTotal.selectIndex = 0;
